package com.view;

/**************************************************** IMPORT ****************************************************/
import com.diana.MainActivity;

import android.content.Context;

public abstract class Screen{

	/************ DECLARATIONS ***************/
	private MainActivity activity ;
	private int layout;
	private Context context;

	/************ CONSTRUCTOR ****************/
	public Screen(MainActivity activity, int layout){
		this.activity = activity;
		this.layout = layout;
		this.context = this.activity.getApplicationContext();
	}

	/************** METHODES *****************/
	/**
	 * @brief Display the view.
	 */
	public abstract void display();

	/**
	 * @brief Close the vieuw.
	 */
	public abstract void close();
	
	
	/************* ACCESSORS *************/
	public MainActivity getActivity(){
		return this.activity;
	}

	public int getLayout(){
		return this.layout;
	}

	public Context getcontext(){
		return this.context;
	}

}

